#ifdef _MSC_VER
// Copyleft 2005 Chris Korda
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 of the License, or any later version.
/*
        chris korda
 
		revision history:
		rev		date	comments
        00      10may05	initial version

        DirectDraw error codes
 
*/

DIRDRAWERR(	DDERR_ALREADYINITIALIZED)
DIRDRAWERR(	DDERR_CANNOTATTACHSURFACE)
DIRDRAWERR(	DDERR_CANNOTDETACHSURFACE)
DIRDRAWERR(	DDERR_CURRENTLYNOTAVAIL)
DIRDRAWERR(	DDERR_EXCEPTION)
DIRDRAWERR(	DDERR_GENERIC)
DIRDRAWERR(	DDERR_HEIGHTALIGN)
DIRDRAWERR(	DDERR_INCOMPATIBLEPRIMARY)
DIRDRAWERR(	DDERR_INVALIDCAPS)
DIRDRAWERR(	DDERR_INVALIDCLIPLIST)
DIRDRAWERR(	DDERR_INVALIDMODE)
DIRDRAWERR(	DDERR_INVALIDOBJECT)
DIRDRAWERR(	DDERR_INVALIDPARAMS)
DIRDRAWERR(	DDERR_INVALIDPIXELFORMAT)
DIRDRAWERR(	DDERR_INVALIDRECT)
DIRDRAWERR(	DDERR_LOCKEDSURFACES)
DIRDRAWERR(	DDERR_NO3D)
DIRDRAWERR(	DDERR_NOALPHAHW)
DIRDRAWERR(	DDERR_NOCLIPLIST)
DIRDRAWERR(	DDERR_NOCOLORCONVHW)
DIRDRAWERR(	DDERR_NOCOOPERATIVELEVELSET)
DIRDRAWERR(	DDERR_NOCOLORKEY)
DIRDRAWERR(	DDERR_NOCOLORKEYHW)
DIRDRAWERR(	DDERR_NODIRECTDRAWSUPPORT)
DIRDRAWERR(	DDERR_NOEXCLUSIVEMODE)
DIRDRAWERR(	DDERR_NOFLIPHW)
DIRDRAWERR(	DDERR_NOGDI)
DIRDRAWERR(	DDERR_NOMIRRORHW)
DIRDRAWERR(	DDERR_NOTFOUND)
DIRDRAWERR(	DDERR_NOOVERLAYHW)
DIRDRAWERR(	DDERR_NORASTEROPHW)
DIRDRAWERR(	DDERR_NOROTATIONHW)
DIRDRAWERR(	DDERR_NOSTRETCHHW)
DIRDRAWERR(	DDERR_NOT4BITCOLOR)
DIRDRAWERR(	DDERR_NOT4BITCOLORINDEX)
DIRDRAWERR(	DDERR_NOT8BITCOLOR)
DIRDRAWERR(	DDERR_NOTEXTUREHW)
DIRDRAWERR(	DDERR_NOVSYNCHW)
DIRDRAWERR(	DDERR_NOZBUFFERHW)
DIRDRAWERR(	DDERR_NOZOVERLAYHW)
DIRDRAWERR(	DDERR_OUTOFCAPS)
DIRDRAWERR(	DDERR_OUTOFMEMORY)
DIRDRAWERR(	DDERR_OUTOFVIDEOMEMORY)
DIRDRAWERR(	DDERR_OVERLAYCANTCLIP)
DIRDRAWERR(	DDERR_OVERLAYCOLORKEYONLYONEACTIVE)
DIRDRAWERR(	DDERR_PALETTEBUSY)
DIRDRAWERR(	DDERR_COLORKEYNOTSET)
DIRDRAWERR(	DDERR_SURFACEALREADYATTACHED)
DIRDRAWERR(	DDERR_SURFACEALREADYDEPENDENT)
DIRDRAWERR(	DDERR_SURFACEBUSY)
DIRDRAWERR(	DDERR_CANTLOCKSURFACE)
DIRDRAWERR(	DDERR_SURFACEISOBSCURED)
DIRDRAWERR(	DDERR_SURFACELOST)
DIRDRAWERR(	DDERR_SURFACENOTATTACHED)
DIRDRAWERR(	DDERR_TOOBIGHEIGHT)
DIRDRAWERR(	DDERR_TOOBIGSIZE)
DIRDRAWERR(	DDERR_TOOBIGWIDTH)
DIRDRAWERR(	DDERR_UNSUPPORTED)
DIRDRAWERR(	DDERR_UNSUPPORTEDFORMAT)
DIRDRAWERR(	DDERR_UNSUPPORTEDMASK)
DIRDRAWERR(	DDERR_VERTICALBLANKINPROGRESS)
DIRDRAWERR(	DDERR_WASSTILLDRAWING)
DIRDRAWERR(	DDERR_XALIGN)
DIRDRAWERR(	DDERR_INVALIDDIRECTDRAWGUID)
DIRDRAWERR(	DDERR_DIRECTDRAWALREADYCREATED)
DIRDRAWERR(	DDERR_NODIRECTDRAWHW)
DIRDRAWERR(	DDERR_PRIMARYSURFACEALREADYEXISTS)
DIRDRAWERR(	DDERR_NOEMULATION)
DIRDRAWERR(	DDERR_REGIONTOOSMALL)
DIRDRAWERR(	DDERR_CLIPPERISUSINGHWND)
DIRDRAWERR(	DDERR_NOCLIPPERATTACHED)
DIRDRAWERR(	DDERR_NOHWND)
DIRDRAWERR(	DDERR_HWNDSUBCLASSED)
DIRDRAWERR(	DDERR_HWNDALREADYSET)
DIRDRAWERR(	DDERR_NOPALETTEATTACHED)
DIRDRAWERR(	DDERR_NOPALETTEHW)
DIRDRAWERR(	DDERR_BLTFASTCANTCLIP)
DIRDRAWERR(	DDERR_NOBLTHW)
DIRDRAWERR(	DDERR_NODDROPSHW)
DIRDRAWERR(	DDERR_OVERLAYNOTVISIBLE)
DIRDRAWERR(	DDERR_NOOVERLAYDEST)
DIRDRAWERR(	DDERR_INVALIDPOSITION)
DIRDRAWERR(	DDERR_NOTAOVERLAYSURFACE)
DIRDRAWERR(	DDERR_EXCLUSIVEMODEALREADYSET)
DIRDRAWERR(	DDERR_NOTFLIPPABLE)
DIRDRAWERR(	DDERR_CANTDUPLICATE)
DIRDRAWERR(	DDERR_NOTLOCKED)
DIRDRAWERR(	DDERR_CANTCREATEDC)
DIRDRAWERR(	DDERR_NODC)
DIRDRAWERR(	DDERR_WRONGMODE)
DIRDRAWERR(	DDERR_IMPLICITLYCREATED)
DIRDRAWERR(	DDERR_NOTPALETTIZED)
DIRDRAWERR(	DDERR_UNSUPPORTEDMODE)
DIRDRAWERR(	DDERR_NOMIPMAPHW)
DIRDRAWERR(	DDERR_INVALIDSURFACETYPE)
DIRDRAWERR(	DDERR_NOOPTIMIZEHW)
DIRDRAWERR(	DDERR_NOTLOADED)
DIRDRAWERR(	DDERR_NOFOCUSWINDOW)
DIRDRAWERR(	DDERR_DCALREADYCREATED)
DIRDRAWERR(	DDERR_NONONLOCALVIDMEM)
DIRDRAWERR(	DDERR_CANTPAGELOCK)
DIRDRAWERR(	DDERR_CANTPAGEUNLOCK)
DIRDRAWERR(	DDERR_NOTPAGELOCKED)
DIRDRAWERR(	DDERR_MOREDATA)
DIRDRAWERR(	DDERR_VIDEONOTACTIVE)
DIRDRAWERR(	DDERR_DEVICEDOESNTOWNSURFACE)
DIRDRAWERR(	DDERR_NOTINITIALIZED)

#endif